Revisiting the Perceptron Predictor

نویسنده

  • André Seznec
چکیده

The perceptron branch predictor has been recently proposed by Jiménez and Lin as an alternative to conventional branch predictors. In this paper, we build upon this original proposal in three directions. First, we show that the potential accuracy that can be achieved by perceptron-like predictors was largely underestimated. The accuracy of the redundant history skewed perceptron predictor (RHSP) we are proposing is significantly higher than the one of the original perceptron predictor. The RHSP predictor combines pseudo-tagging, i.e., using address bits as part of the input vectors, use of a redundant representation of the history (4 counters per history bit) and skewing, i.e., use of split tables indexed with different hashing functions. Second, we drastically simplify the hardware logic needed for prediction computation and predictor update. We introduce the MAC representation (for Multiply-Add Contribution) for the perceptron counters in the RHSP predictor. This new representation allows to reduce the width of the multiply-accumulation tree in the RHSP predictor by a factor 16. The width of the represented values can also be reduced from 8 bits to 6 bits without significant accuracy loss on the MAC-RHSP predictor. Response time is a major obstacle for the use of perceptron predictors in real processors. The third contribution of this paper is to propose an ahead pipelined MAC-RHSP predictor. Even assuming that the prediction is initiated 10-block ahead the instruction flow, the accuracy of the ahead pipelined MAC-RHSP predictor remains in the same range as the one of the hypothetical 1-cycle MAC-RHSP predictor. Moreover the volume of information to be checkpointed with each fetch block to allow smooth restart with no extra misprediction penalty remains limited.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Revisiting the Perceptron Predictor Again

We introduce a new kind of branch predictor, the hashed perceptron predictor, which merges the concepts behind the gshare and perceptron branch predictors. This is done by fetching the perceptron weights using the exclusive-or of branch addresses and branch history. This predictor can achieve superior accuracy to a path-based and a global perceptron predictor, previously the most accurate fully...

متن کامل

Parallel Path Based Local Perceptron Branch Predictor

As the number of pipeline stages increases we become hostage to the penalty imposed by misprediction of branches. Previous works have shown that a neural branch predictor remains victorious among its peers by achieving much lower misprediction rates on similar sized hardware budget than traditional approaches. In this paper we implement 3 variations of perceptron based predictor and give each i...

متن کامل

Revisiting Perceptron: Efficient and Label-Optimal Learning of Halfspaces

It has been a long-standing problem to efficiently learn a linear separator using as few labels as possible. In this work, we propose an efficient perceptron-based algorithm for actively learning homogeneous linear separators under uniform distribution. Under bounded noise, where each label is flipped with probability at most η, our algorithm achieves near-optimal Õ (

متن کامل

The Combined Perceptron Branch Predictor

Previous works have shown that neural branch prediction techniques achieve far lower misprediction rate than traditional approaches. We propose a neural predictor based on two perceptron networks: the Combined Perceptron Branch Predictor. The predictor consists of two concurrent perceptron-like neural networks; one using as inputs branch history information, the other one program counter bits. ...

متن کامل

2FAR: A 2bcgskew Predictor Fused by an Alloyed Redundant History Skewed Perceptron Branch Predictor

This paper describes the 2bcgskew branch predictor fused by an alloyed redundant history skewed perceptron predictor, which is our design submitted to the 1st JILP Championship Branch Prediction (CBP) competition. The presented predictor intelligently combines multiple predictions (fusion) in order to obtain a more accurate prediction. The various predictions are delivered by a 2bcgskew predict...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004